﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dapper_Core.Model
{
    public class BasicUserInfo
    {
        /// <summary>
        /// 用户Id，在本项目中是一长串的Guid
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 用户工号
        /// </summary>
        public string UserCode { get; set; }

        /// <summary>
        /// 用户全名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 拼音全拼+空格+工号
        /// </summary>
        public string PinyinCode { get; set; }
        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 所在的一级部门Code
        /// </summary>
        public string FirstDeptCode { get; set; }
        /// <summary>
        /// 所在的一级部门名称
        /// </summary>
        public string FirstDeptName { get; set; }
        /// <summary>
        /// 所在的二级部门Code
        /// </summary>
        public string SecondDeptCode { get; set; }
        /// <summary>
        /// 所在的二级部门名称
        /// </summary>
        public string SecondDeptName { get; set; }
        /// <summary>
        /// 所在的部门Code
        /// </summary>
        public string ThirdDeptCode { get; set; }
        /// <summary>
        /// 所在的部门名称
        /// </summary>
        public string ThirdDeptName { get; set; }
        /// <summary>
        /// 访问者所用设备的IP
        /// </summary>
        public string RemoteIpAddress { get; set; }
    }
}
